<extend name="base" />
<block name="style2">
      <link rel="stylesheet" type="text/css" href="__PUBLIC__/Rbac/CSS/addUser.css">
</block>
<block name="js2">
      <script type="text/javascript" src="__PUBLIC__/Rbac/JS/addUser.js"></script>
</block>
<block name="content">
    <div class="content">
    <h2 class="sub-header">添加用户列表</h2>
        <form action='<{:U("Home/Rbac/addUserHandle")}>' method="post">
           <table>
           	  <tr>
           	  	<td>用户名称</td>
           	  	<td><input type="text" name="user_name"></td>
           	  </tr>
              <tr>
                <td>用户密码</td>
                <td><input type="text" name="password"></td>
              </tr>
              <tr>
                <td>真实姓名</td>
                <td><input type="text" name="true_name"></td>
              </tr>
              <tr>
                <td>联系方式</td>
                <td><input type="text" name="phone_num"></td>
              </tr>
              <tr>
                <td>身份证号</td>
                <td><input type="text" name="id_num"></td>
              </tr>
              <tr>
                <td>公司单位</td>
                <td><input type="text" name="company"></td>
              </tr>
              <tr>
                <td>所属部门</td>
                <td><input type="text" name="depart"></td>
              </tr>
              <tr>
                <td>担任职务</td>
                <td><input type="text" name="position"></td>
              </tr>
              <tr>
                <td>单位属性</td>
                <td>
                  <select name="part">
                    <option value='请选择'>请选择</option>
                    <option value='system'>系统用户</option>
                    <option value='unit'>单位用户</option>
                  </select>
                </td>
              </tr>
              <tr>
                <td>工号</td>
                <td><input type="text" name="work_id"></td>
              </tr>
              <tr>
                <td>备注</td>
                <td><input type="text" name="remark"></td>
              </tr>
           	  
                <tr>
                  <td>是否冻结</td>
                  <td><input style="width:30px" type="radio" name="lock" value="1">是
                  <input style="width:30px" type="radio" name="lock" value="0" checked="checked">否</td>
                </tr>
                <tr id="last">
                  <td>添加角色</td>
                 <td>
                   <select name="role_id[]">
                     <option value="0">请选择角色</option>
                     <foreach name="role" item="v">
                        <option value="<{$v.id}>"><{$v.name}><{$v.remark}></option>
                     </foreach>
                   </select>
                   <button type="button" class="button">增加角色</button>
                 </td>
                </tr>
           	  <tr>
                 <td></td>
           	  	 <td style="text-align: center;"><button style="width:100px">提交</button></td>
           	  </tr>
           </table>
        </form>
    </div>
</block>